package com.zhuanzhuan.hero.user.dto.backend;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * @ClassName BusinessLabelRelateDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/18 17:12
 */
@Data
public class RelateBusinessLabelDTO {

    @NotNull
    private Long labelId;

    @NotEmpty
    @Size(max = 100, message = "单次最多关联给100个用户")
    private List<Long> toUids;

    @NotNull
    private Long operaterUid;

    @NotNull
    private Date operateTime;
}
